473,520 Members | 2,532 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multilanguage calendar...

Stu
Hi,

I am nearing the end of a multilanguage conversion and have just come across
a page which has a calendar control on it that needs translating. The
current language of the site is stored in a session variable as we need to
be able to swicth language regardless of the browser settings.

Does the asp.net calendar control support multi-language? If so - how?

Thanks in advance,

Stu

PS. We are probably moving to .Net 2.0 soon - so if that makes it easier....
Nov 26 '05 #1
3 2364
I have tried a calendar control on asp.net 2.0, by setting the Culture="auto"
UICulture="auto” in the page directive and I get the calendar days displayed
according to the language specified in the browser setting. Here is a demo
in asp.net 2.0: http://www.webswapp.com/demos/autoculture.aspx

Try it by setting your browser Tools->Internet Options->Languages to
different cultures and you should see the calendar display changes
accordingly whenever you click on a date.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Stu" wrote:
Hi,

I am nearing the end of a multilanguage conversion and have just come across
a page which has a calendar control on it that needs translating. The
current language of the site is stored in a session variable as we need to
be able to swicth language regardless of the browser settings.

Does the asp.net calendar control support multi-language? If so - how?

Thanks in advance,

Stu

PS. We are probably moving to .Net 2.0 soon - so if that makes it easier....

Nov 26 '05 #2
I forgot also to mention that you can also override the Auto Culture option
in the code by assigning the Page.Culture to any other value. I add a
dropdownlist to the demo to switch to any other language.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Phillip Williams" wrote:
I have tried a calendar control on asp.net 2.0, by setting the Culture="auto"
UICulture="auto” in the page directive and I get the calendar days displayed
according to the language specified in the browser setting. Here is a demo
in asp.net 2.0: http://www.webswapp.com/demos/autoculture.aspx

Try it by setting your browser Tools->Internet Options->Languages to
different cultures and you should see the calendar display changes
accordingly whenever you click on a date.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Stu" wrote:
Hi,

I am nearing the end of a multilanguage conversion and have just come across
a page which has a calendar control on it that needs translating. The
current language of the site is stored in a session variable as we need to
be able to swicth language regardless of the browser settings.

Does the asp.net calendar control support multi-language? If so - how?

Thanks in advance,

Stu

PS. We are probably moving to .Net 2.0 soon - so if that makes it easier....

Nov 26 '05 #3
Stu
Many thanks - that sorted it.

"Phillip Williams" <Ph**************@webswapp.com> wrote in message
news:DC**********************************@microsof t.com...
I forgot also to mention that you can also override the Auto Culture option
in the code by assigning the Page.Culture to any other value. I add a
dropdownlist to the demo to switch to any other language.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Phillip Williams" wrote:
I have tried a calendar control on asp.net 2.0, by setting the
Culture="auto"
UICulture="auto" in the page directive and I get the calendar days
displayed
according to the language specified in the browser setting. Here is a
demo
in asp.net 2.0: http://www.webswapp.com/demos/autoculture.aspx

Try it by setting your browser Tools->Internet Options->Languages to
different cultures and you should see the calendar display changes
accordingly whenever you click on a date.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Stu" wrote:
> Hi,
>
> I am nearing the end of a multilanguage conversion and have just come
> across
> a page which has a calendar control on it that needs translating. The
> current language of the site is stored in a session variable as we need
> to
> be able to swicth language regardless of the browser settings.
>
> Does the asp.net calendar control support multi-language? If so - how?
>
> Thanks in advance,
>
> Stu
>
> PS. We are probably moving to .Net 2.0 soon - so if that makes it
> easier....
>
>
>

Nov 28 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
16657
by: Mariano Lpez | last post by:
I'm trying to make a multilanguage website. When the user enters the site, I want to detect the language and automatically make a redirection. How can I do this? And how should I organize my data base so the user can switch languages easily? Thanks.
1
1962
by: Tosch | last post by:
I have to write a multilanguage application with the following criteria: - The language code can be set in a config file or similar. I don't want .NET do decide which language to use. This way it's possible to run say a french version of my app on an italian Windows. - add new language versions to the application without need to recompole
3
1444
by: Olivier | last post by:
i need to create a multilinguage site and i need help : first i want to know what is the best and simple solution for a multilinguage site with plone 2? i want some tutorial, how to and if possible exemple next i need to modify the user standard information to put my personnal information like address, phone numbre, city, ... and i want...
0
1768
by: Giovane Calabrese | last post by:
ok. im try to make a multilanguage system based on that tutorial : http://www.123aspx.com/redir.aspx?res=29112 in my aspx pages all text are in labels , and i want to take the name labels ( in one loop ) and for each label take on the XML document the right(in the right language) Value (text).
1
1446
by: Andrew Smith | last post by:
Hi, does anybody know to program multilanguage website, which are dependend on the browsers language settings? Does anybody know a nice jumpstart for this? Thanks in advance for any advice Andrew -- Andrew Smith
5
3034
by: Michal Tborsk | last post by:
I am wondering, if it's effective to use text arrays to store multilanguage information. We used to do it like this: CREATE TABLE product ( id serial NOT NULL, price float4, ... )
0
2098
by: HelmutStoneCorner | last post by:
Hi, I am connected as a german client to a multilanguage server, Regional Options: English, US. Western Europe and US. The W2K Server (Terminal) -version: english(US) runs a french database. My regional options are: General: English, US, (Keybd: german). I create a new database and, opening the table or going to the options, I get: An...
15
2492
by: AG | last post by:
I have seen the samples for multilanguage support regarding what is normally static content. Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview that is populated from a database? TIA -- AG Email: discuss at adhdata dot com
1
2723
by: paolob | last post by:
I need to provide multilanguage support to my application. I alredy writed a multilanguage test application, using VS6 and resource only dll. Now i'm using Visual Studio 2005, I find out that it supports multilanguage through .resx file, but I can't find a good example that explains me how to do this. I appreciate very much if you can point...
0
7231
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7463
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7626
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
4804
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3295
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1675
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
527
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.